package com.swagger.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(value="用户操作接口",tags={"用户操作接口"})
public class UserController {

    @GetMapping("/getUser")
    @ApiOperation(value = "获取用户信息",notes = "根据id获取用户信息")
    public String getUser(int id){

        return "success";
    }
}
